Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 6 - Style Objects / Style Objects Reference
Style Objects Routines / Managing Styles


Q3Style_GetType

You can use the Q3Style_GetType function to get the type of a style object.

TQ3ObjectType Q3Style_GetType (TQ3StyleObject style);
style
A style object.
DESCRIPTION
The Q3Style_GetType function returns, as its function result, the type of the style object specified by the style parameter. The types of style objects currently supported by QuickDraw 3D are defined by these constants:

kQ3StyleTypeBackfacing
kQ3StyleTypeFill
kQ3StyleTypeHighlight
kQ3StyleTypeInterpolation
kQ3StyleTypeOrientation
kQ3StyleTypePickID
kQ3StyleTypePickParts
kQ3StyleTypeReceiveShadows
kQ3StyleTypeSubdivision
If the specified style object is invalid or is not one of these types, Q3Style_GetType returns the value kQ3ObjectTypeInvalid.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996